package com.example.xiaomaotv;

import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.TextView;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

public class MainActivity3 extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.activity_main3);
        TextView selectText = findViewById(R.id.list_name_xx);
        Intent intent = getIntent();
        String Name=intent.getStringExtra("list_name");
        selectText.setText(Name);
        selectText.setTextColor(Color.RED);
    }
}